package org.jpass.dc.common.util;


/**
 * 返回客户端的数据
 * @author WeiLong Peng
 *
 */
public class ReturnText {
	
	/* 返回给客户端，表示请求是否成功 */
	private boolean success = true;
	
	/* 发回给客户端的提示信息 */
	private String msg;
	
	/* 发回给客户端的提示信息的类型 */
	private String type;

	public ReturnText() {}
	
	public ReturnText(boolean success, String msg, String type) {
		this.success = success;
		this.msg = msg;
		this.type = type;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}
